/**
 * Created by chenjianjun on 16/6/24.
 */
import React from 'react'
import KoaRouter from 'koa-router'

import procHandle from './common'

const siteRouter = new KoaRouter()

/** 登录页面 **/
siteRouter.get('/login', procHandle({
  // 标题
  title: '登录',
  // 客户端渲染依赖的js文件名
  templateName: 'login',
}, require('../../app/pages/login/router.jsx').default ))

export { siteRouter }
